﻿/*
 * Created by SharpDevelop.
 * User: JOHNNY
 * Date: 08-01-2015
 * Time: 16:17
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace aula14
{
	/// <summary>
	/// Description of Class1.
	/// </summary>
	public delegate T Transformador<T> (T arg);
	public class Util
	{
		public static void Transformar<T>(T[]valores, Transformador<T> t)
		{
			for(int i =0; i<valores.Length; i++)
				valores[i] = t(valores[i]);
		}
	}
}
